Logic Tree
What is Docusaurus?β
Docusaurus 2 is an open-source static site generator framework developed and maintained by Meta. It's built with React, and offers various features out-of-the-box. Some of the logic I found cumbersome, as with most React frameworks. Docusaurus does provide a nice platform that has many built in abstractions and a API plugin friendly environment that suits many.
Use Caseβ
I used [Docusaurus 2], for the boiler plate. From my local - I push direct to this GitHub repo. A build is triggered in Netlifyβbasic covering basic CI/CD processes. As a Tech writer I try to lean into becoming a better Dev: below is the website structure π.
Website_Directory/
βββ Root/
β βββ docusaurus.config.js
β βββ sidebar.js
β βββ package.json
β βββ README.md
β βββ robots.txt
β βββ package.json
β β
β βββ static/
β β βββimg1.png
β β βββimg2.png
β β
β βββ src/
β β βββcomponents/
β β βββform features
β β βββindex.js
β β βββstyles.module.css
β β
β β βββpages/
β β βββAbout.md
β β βββContact.js
β β
β β βββcss/
β β βββabout.css
β β βββcustom.css
β β
β β
βββCase-studys/
β β βββAdvertising/
β β βββVolvo.md
β β βββAdobe.md
β β
β β βββTech Writing/
β β βββAddestino.md
β β βββA-P-I-Docs.md
β β
βββ Blog/
β βββ authors.yml/
β β βββ index.md
β β βββ infrastructure-as-code.md
β β βββ Monitor-Aerospike-.md
β β
β β
βββ ποΈ Build /
βΉοΈ About
π index.html
π assets
π¨ css
πΌοΈ images
π js
π blog
π contact
π docs
πΌοΈ img
βοΈ legal
π success
β .nojekyll
β οΈ 404.html
π index.html
πΊοΈ sitemap.xml
Other Frameworksβ
Not exhaustive but worth mentioning.
Read the Docs: is a popular documentation hosting platform that simplifies the process of creating and publishing documentation. It supports various documentation formats, such as Sphinx, MkDocs, and Jupyter notebooks.
GitBook: is a versatile platform that allows users to create, publish, and host documentation. It supports various documentation formats, including Markdown, AsciiDoc, and reStructuredText.
Jekyll: is a popular static site generator that can be used to create documentation websites. It uses Markdown and Liquid templating to generate static HTML pages.
Conclusionβ
Your choice of techstack depends on taste, and what problems your trying to solve. Next time, I need a front-end, going to play with HTMX or Svelte.